package com.tanhua.dubbo.api;


import com.tanhua.model.vo.VoiceVo;
import org.bson.types.ObjectId;

import java.util.List;

/**
 * 桃花传音服务接口类
 */
public interface PBVoiceApi {

    /**
     * 桃花传音--发送语音
     */
    void saveVoice(String voiceUrl, Integer age, String gender, Long userId);

    /**
     * 桃花传音--接收语音
     */
    VoiceVo findPBVoice(String gender, Integer age, Long userId, List<ObjectId> objectIdList);
}